<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>你已经访问了<%=session.getAttribute("count")%>次</h1>

<%--    <a href="<%=request.getContextPath()%>/count">访问</a>--%>

    <a href="<%=response.encodeURL(request.getContextPath()+"/count")%>">访问</a>

</body>
</html>
